package first.endtoend

/*
@author: A.Olfa
 */

class Portfolio
{
    static hasMany = [portfolioDetails: PortfolioDetail]
    static belongsTo = [family: Family]
    Date startDate
    Date endDate
    Date dateCreated
    Date lastUpdated
    static constraints = {
        family(nullable: true)
        portfolioDetails nullable: true
    }

    @Override
    public String toString()
    {
        return id;
    }


}
